package com.zhonghui.service;

import com.zhonghui.common.core.result.FwResult;
import com.zhonghui.dto.AccountLoginDto;
import com.zhonghui.model.Admin;
import com.zhonghui.dto.PhoneLoginDto;

import java.util.Map;

/**
 * @author: FL
 * @create: 2024 2024/6/18 8:41
 */
public interface AdminService {
    FwResult<Map<String, Object>> login(AccountLoginDto accountLoginDto);

    FwResult<Admin> logout(String token);
}
